<?php 

$a = 123;

function change(&$x = 0)
{
  $x++;
  return $x;
} 


echo "<br>The value of a is $a";
echo "<br>The value of a is ".change($a);
echo "<br>The value of a is $a";
